#coding=utf-8

from callbacks import init_data

def basecallback(request):
    data = init_data()
    try:
        user = request.user
        data['email'] = user.email
        return data
    except Exception, e:
        return {}